Typical Usage:
(1) The following example waits for at least 300 events in the event counter:
MAIN.C void main(void) { EC161_Reset(); /* reset the event counter */ /* wait for 300 events */ while( EC161_GetNumEvents()<300 ) ; }